﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Zjs_VoteSys.Models;
using Zjs_VoteSys.Models.Database;

namespace Zjs_VoteSys.Service
{
    public interface IUserService
    {
        bool TfUserEmail(string email);
        string Reg(string email, string password);
        User GetphoneByEmail(string Email);
        string AddCom(int userId, string CompanyLogo, string Name, string Description);
        string AddAward(int userid,int companyId, int awardCategoryId, int prizeCategoryId, string projectImage);
        string TfAward(int userid, int awardCategoryId);
        string Examine(int examId, string state);
        List<ModelsProject> ModelsProject(int projectid);
        string Votes(int userid, int projectid);
        GetProResponse getProResponse(int AwardCategoryId, string Keyword, int PageIndex, int PageSize);
        GetProResponse getProjectResponse(int companyid, int PageIndex, int PageSize);
    }
}
